package com.virtudroid.domain;

/**
 * Bean representing the WAV file format header.
 * <br/><br/>
 * Each field matches an information contained in the WAV file headers.
 * <br/><br/>
 * For more inforamtions about the WAV file format and the meaning of those fields please go 
 * to <a href="https://ccrma.stanford.edu/courses/422/projects/WaveFormat/">CCRMA's website</a>.
 * 
 * @author Seb
 */
public class WavHeaderInfo {

	private int chunkId;
	private int chunkSize;
	private int format;
	private int subchunk1Id;
	private int subchunk1Size;
	private short audioFormat;
	private short numChannels;
	private int sampleRate;
	private int byteRate;
	private short blockAlign;
	private short bitsPerSample;
	private int subchunk2Id;
	private int subchunk2Size;

	public int getChunkId() {
		return chunkId;
	}

	public void setChunkId(int chunkId) {
		this.chunkId = chunkId;
	}

	public int getChunkSize() {
		return chunkSize;
	}

	public void setChunkSize(int chunkSize) {
		this.chunkSize = chunkSize;
	}

	public int getFormat() {
		return format;
	}

	public void setFormat(int format) {
		this.format = format;
	}

	public int getSubchunk1Id() {
		return subchunk1Id;
	}

	public void setSubchunk1Id(int subchunk1Id) {
		this.subchunk1Id = subchunk1Id;
	}

	public int getSubchunk1Size() {
		return subchunk1Size;
	}

	public void setSubchunk1Size(int subchunk1Size) {
		this.subchunk1Size = subchunk1Size;
	}

	public short getAudioFormat() {
		return audioFormat;
	}

	public void setAudioFormat(short audioFormat) {
		this.audioFormat = audioFormat;
	}

	public short getNumChannels() {
		return numChannels;
	}

	public void setNumChannels(short numChannels) {
		this.numChannels = numChannels;
	}

	public int getSampleRate() {
		return sampleRate;
	}

	public void setSampleRate(int sampleRate) {
		this.sampleRate = sampleRate;
	}

	public int getByteRate() {
		return byteRate;
	}

	public void setByteRate(int byteRate) {
		this.byteRate = byteRate;
	}

	public short getBlockAlign() {
		return blockAlign;
	}

	public void setBlockAlign(short blockAlign) {
		this.blockAlign = blockAlign;
	}

	public short getBitsPerSample() {
		return bitsPerSample;
	}

	public void setBitsPerSample(short bitsPerSample) {
		this.bitsPerSample = bitsPerSample;
	}

	public int getSubchunk2Id() {
		return subchunk2Id;
	}

	public void setSubchunk2Id(int subchunk2Id) {
		this.subchunk2Id = subchunk2Id;
	}

	public int getSubchunk2Size() {
		return subchunk2Size;
	}

	public void setSubchunk2Size(int subchunk2Size) {
		this.subchunk2Size = subchunk2Size;
	}

}
